package com.logic.landseaserver.service;

import java.util.List;

import com.logic.common.exception.BusinessException;
import com.logic.common.util.QueryUtil;
import com.logic.landseaserver.common.exception.LandseaBusinessException;
import com.logic.landseaserver.domain.CleanLog;
import com.logic.landseaserver.domain.OperationLog;
import com.logic.landseaserver.ws.dto.CleanLogDTO;
import com.logic.landseaserver.ws.dto.OperationLogDTO;


public interface IOperationLogService {

    public void log(String ip, Integer createdBy, String message, String type, String moduleType, Integer modulesId);

    public void insert(OperationLog log) throws LandseaBusinessException;

    List<OperationLogDTO> query(QueryUtil util);

    public void cleanLog()throws BusinessException;

    public void saveCleanLog(CleanLog log);

    public List<CleanLogDTO> selectCleanLog();
}
